<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Predefined Constants</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="id3.resources.html">资源类型</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.id3.html">ID3 函数</a></div>
 <div class="up"><a href="book.id3.html">ID3</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="id3.constants" class="appendix">
 <h1>Predefined Constants</h1>

 <p class="para">
   Most of the id3 functions either let you specify
   or return a tag version. In order to specify the version
   please use on of these constants.
 </p>
 <p class="para">
  <dl>

   
    <dt id="constant.id3-v1-0">
     <strong><code>ID3_V1_0</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
      <strong><code>ID3_V1_0</code></strong> is used if you are working with
      ID3 V1.0 tags. These tags may contain the fields title, artist,
      album, genre, year and comment.
     </span>
    </dd>

   
   
    <dt id="constant.id3-v1-1">
     <strong><code>ID3_V1_1</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
      <strong><code>ID3_V1_1</code></strong> is used if you are working with
      ID3 V1.1 tags. These tags may all information contained in v1.0
      tags plus the track number.
     </span>
    </dd>

   
   
    <dt id="constant.id3-v2-1">
     <strong><code>ID3_V2_1</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
      <strong><code>ID3_V2_1</code></strong> is used if you are working with
      ID3 V2.1 tags.
     </span>
    </dd>

   
   
    <dt id="constant.id3-v2-2">
     <strong><code>ID3_V2_2</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
      <strong><code>ID3_V2_2</code></strong> is used if you are working with
      ID3 V2.2 tags.
     </span>
    </dd>

   
    
    <dt id="constant.id3-v2-3">
     <strong><code>ID3_V2_3</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
      <strong><code>ID3_V2_3</code></strong> is used if you are working with
      ID3 V2.3 tags.
     </span>
    </dd>

   
   
    <dt id="constant.id3-v2-4">
     <strong><code>ID3_V2_4</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
      <strong><code>ID3_V2_4</code></strong> is used if you are working with
      ID3 V2.4 tags.
     </span>
    </dd>

   
   
    <dt id="constant.id3-best">
     <strong><code>ID3_BEST</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <span class="simpara">
      <strong><code>ID3_BEST</code></strong> is used if would like to let the id3 functions
      determine which tag version should be used.
     </span>
    </dd>

   
 </dl>

 </p>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="id3.resources.html">资源类型</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ref.id3.html">ID3 函数</a></div>
 <div class="up"><a href="book.id3.html">ID3</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
